iommu: push use of type-safe DFN and MFN into iommu_ops
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 5 Oct 2018 14:21:05 +0000 (16:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Oct 2018 14:21:05 +0000 (16:21 +0200)
commit98164cf5a8a7381967ff985a600ae53fd567cdd4
treefa775f60b344b01420c91f31a779e9460a7a88ac
parentc771f27518e39f707cec799bcf9beaf06d32d7ed
iommu: push use of type-safe DFN and MFN into iommu_ops

This patch modifies the methods in struct iommu_ops to use type-safe DFN
and MFN. This follows on from the prior patch that modified the functions
exported in xen/iommu.h.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/arm/smmu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/x86/iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
xen/include/xen/iommu.h